package com.lxit.video.bean;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/** 用户信息类 */
@Entity
@Table(name = "user_info")
public class UserInfo {

	@Id
	@Column(name = "user_id")
	/** 用户id */
	private int userId;

	@Column(name = "user_phone")
	/** 用户号码（登录用） */
	private String userPhone;

	@Column(name = "password")
	/** 用户密码 */
	private String password;

	@Column(name = "u_type_id")
	/** 用户类型（1：普通用户 2.月卡会员 3.年卡会员） */
	private Integer uTypeId;

	@Column(name = "user_number")
	/** 用户账号（u_vo_ + 年月日 + 6位随机数） */
	private String userNumber;

	@Column(name = "user_alias")
	/** 用户别名 */
	private String userAlias;

/*	@Column(name = "autograph")
	*//** 用户签名 *//*
	private String autograph;*/

	@Column(name = "user_sex")
	/** 用户性别 */
	private String userSex;

	@Column(name = "user_age")
	/** 用户年龄 */
	private Integer userAge;

	@Column(name = "user_seat")
	/** 用户所在地 */
	private String userSeat;

	@Column(name = "user_head_img")
	/** 用户头像路径 */
	private String userHeadImg;

	@Column(name = "user_email")
	/** 用户邮箱 */
	private String userEmail;

	@Column(name = "user_status")
	/** 用户状态（0：正常 1：失效） */
	private Integer userStatus;

	@Column(name = "user_money")
	/** 用户余额（0.00元） */
	private BigDecimal userMoney;

	@Column(name = "create_time")
	/** 创建时间 */
	private Date createTime;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getuTypeId() {
		return uTypeId;
	}

	public void setuTypeId(int uTypeId) {
		this.uTypeId = uTypeId;
	}

	public String getUserNumber() {
		return userNumber;
	}

	public void setUserNumber(String userNumber) {
		this.userNumber = userNumber;
	}

	public String getUserAlias() {
		return userAlias;
	}

	public void setUserAlias(String userAlias) {
		this.userAlias = userAlias;
	}

	public String getUserSex() {
		return userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}
	public Integer getUserAge() {
		return userAge;
	}

	public void setUserAge(Integer userAge) {
		this.userAge = userAge;
	}

	public String getUserSeat() {
		return userSeat;
	}

	public void setUserSeat(String userSeat) {
		this.userSeat = userSeat;
	}

	public String getUserHeadImg() {
		return userHeadImg;
	}

	public void setUserHeadImg(String userHeadImg) {
		this.userHeadImg = userHeadImg;
	}

	public String getUserEmail() {
		return userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public int getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(int userStatus) {
		this.userStatus = userStatus;
	}

	public BigDecimal getUserMoney() {
		return userMoney;
	}

	public void setUserMoney(BigDecimal userMoney) {
		this.userMoney = userMoney;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
